//
//  NateUIAlertView.h
//  CairnStory
//  www.cairnstory.com
//
//  Created by saturna on 11. 3. 22..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface CSUIAlertView : UIAlertView
	<UIAlertViewDelegate>
{
	id m_target;
	SEL m_action;
	NSMutableDictionary* m_attributes;
	BOOL m_isAlertView;
}

- (id)initWithTitle:(NSString*)title message:(NSString*)message
			 target:(id)target action:(SEL)action
	   buttonTitles:(NSString*)buttonTitles, ...;




// Cancel, Ok button
- (id)initConfirmWithTitle:(NSString*)title message:(NSString*)message
					target:(id)target action:(SEL)action;


// Ok button
- (id)initAlertWithTitle:(NSString*)title message:(NSString*)message
				  target:(id)target action:(SEL)action;



- (id)attributeForKey:(NSString*)key;
- (void)setAttribute:(id)value forKey:(NSString*)key;

@end

